package com.ruoyi.active.api;

import com.ruoyi.active.api.domain.CfDrawal;
import com.ruoyi.active.api.domain.CfOrder;
import com.ruoyi.common.core.web.domain.AjaxResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("ruoyi-order")
public interface RemoteCfOrderService {

    @PutMapping("/order")
    public AjaxResult edit(@RequestBody CfOrder cfOrder);

    @PostMapping("/drawal")
    public AjaxResult add(@RequestBody CfDrawal cfDrawal);


}
